package com.glls.sbdemo1.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @date 2023/5/11
 * @desc   封装 配置文件中的 多个配置
 */

@Component
@ConfigurationProperties(prefix = "url")
@Data
public class MicroServiceUrl {


    private String orderUrl;
    private String userUrl;
    private String shoppingUrl;
}
